package com.hkemmm.shop.service;

import com.hkemmm.shop.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserService {
    User selectByPrimaryKey(Integer id);

    User selectUser(String username, String password);

    int updateByPrimaryKeySelective(User record);

    Integer insertSelective(User user);

    User existUser(String username);

    int updatePhoto(String photo, Integer id);

    List<User> getAllUser();
}
